package com.zbkj.common.response;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户分销响应对象
 * +----------------------------------------------------------------------
 * | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
 * +----------------------------------------------------------------------
 * | Author: CRMEB Team <admin@crmeb.com>
 * +----------------------------------------------------------------------
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserSpreadResponse对象", description="用户分销响应对象")
public class UserSpreadResponse implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "记录id")
    private Integer id;

    @ApiModelProperty(value = "用户uid")
    private Integer uid;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "用户真名")
    private String realName;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "手机号码")
    private String phone;
    @ApiModelProperty(value = "推荐人")
    private Integer spreaderUid;


    @ApiModelProperty(value = "用户所属团队的等级")
    private Integer groupLevel;
    @ApiModelProperty(value = "自己推广的人数")
    private Integer spreadNumber;

    @ApiModelProperty(value = "个人的订单总数")
    private Integer personalOrderCount;

    @ApiModelProperty(value = "团队累计的订单数量")
    private Integer groupOrderCount;


    @ApiModelProperty(value = "团队累计的消费额度")
    private BigDecimal groupConsumeCount;

    @ApiModelProperty(value = "个人累计的消费额度")
    private BigDecimal personalConsumeCount;

    @ApiModelProperty(value = "加入团队的时间")
    private Date joinTime;

    @ApiModelProperty(value = "是否为推销员")
    private Boolean isPromoter;



}
